package com.indusfo.spc.service;

import com.indusfo.spc.pojo.RuleDetail;
import com.indusfo.spc.vo.JSONObject;

import java.util.List;

/**
 * @author chenm
 * @create 2019-07-23 14:20
 */
public interface RuleDetailService {



    /**
     * @Author 熊冰  查询
     * @Date 2020/1/16 14:19
     */
    JSONObject queryRuleDetail(RuleDetail ruleDetail);



    /**
     * 新增
     * @param ruleDetail
     * @return
     */
    JSONObject insertRuleDetail(RuleDetail ruleDetail);

    /**
     * 删除
     * @param ids
     * @param dataState
     * @return
     */
    JSONObject deleteRuleDetail(Integer[] ids, Integer dataState);

    /**
     * 修改
     */
    JSONObject updateRuleDetail(RuleDetail ruleDetail);

    String checkNoRepeatExcel(RuleDetail ruleDetail);

    JSONObject updateListRuleDetail(List<RuleDetail> ruleDetailList);

    //排序
	JSONObject sortRuleDetail(Integer[] ruleDetailiIds);
}
